class MainController {
    def index = {
        if (session?.LOGIN_USER) {
            redirect(controller: 'hotel', action: 'index')
        } else {
            render(view: '/index')
        }
    }
}
